ArcGIS API for WPF - Library Reference
DensifyAsync(IList<Graphic>,DensifyParameters) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > DensifyAsync Method : DensifyAsync(IList<Graphic>,DensifyParameters) Method

graphics
The collection of Geometry to be densified. All geometries are assumed to be in the coordinate system SpatialReference.
parameters
Parameters contains additional properties that defines how the densify task will be preformed.
This operation densifies geometries by plotting points between existing vertices.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DensifyAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal parameters As DensifyParameters _
) 
C# 
public void DensifyAsync( 
   IList<Graphic> graphics,
   DensifyParameters parameters
)

Parameters

graphics
The collection of Geometry to be densified. All geometries are assumed to be in the coordinate system SpatialReference.
parameters
Parameters contains additional properties that defines how the densify task will be preformed.

Example

A polyline with two points that span 100 meters between them can be densified to have a point ever 10 meters by indicating a maxSegmentLength of 10 and lengthUnit of meters. The Same polyline would be returned but with 10 points instead of 2 points.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.